<template>
  <div class="package-box">
    <box-item
      :label="$t('packet.尺寸（cm）')"
      :value="`${order.packetLength} x ${order.packetWidth} x ${order.packetHeight}`"
    ></box-item>
    <box-item
      :label="$t('packet.重量（kg）')"
      :value="order.packetWeight"
    ></box-item>
    <box-item
      :label="$t('packet.物流商')"
      :value="order.carrier"
    ></box-item>
    <box-item
      :label="$t('packet.服务名称')"
      :value="order.serviceName"
    ></box-item>
    <box-item
      :label="$t('packet.签收类型')"
      :value="order.confirmationName"
    ></box-item>
  </div>
</template>

<script>
import BoxItem from "@/views/packetOrders/components/BoxItem.vue";

export default {
  components: {BoxItem},
  props: {
    order: {
      required: true,
      type: Object,
      default() {
        return {};
      },
    }
  },
  data() {
    return {}
  },
  created() {

  },
  methods: {}
}
</script>

<style scoped lang="less">
.package-box{
  border: 1px solid #D7D7D7;
  width: 420px;
}
</style>
